package com.util;

import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.AnsiConsole;

public class LogColorful {
    static String RESET = "\033[0m";
    static String RED = "\033[31;1m";
    static String GREEN = "\033[32;1m";
    static String YELLOW = "\033[33;1m";

    static {
        AnsiConsole.systemInstall();

    }

    public static void logGreen(String mes) {
        System.out.println(GREEN + mes + RESET);
    }

    public static void logRed(String mes) {
        System.out.println(RED + mes + RESET);
    }

    public static void logYellow(String mes) {
        System.out.println(YELLOW + mes + RESET);
    }
}
